package com.itcrowd.ittao.widget;

import android.view.View;
import android.widget.BaseExpandableListAdapter;

public abstract class AbstractStickyHeaderExpandableListViewAdapter extends
		BaseExpandableListAdapter {

	private int mInvisibleGroupViewIndex = -1;

	public abstract View getHeaderView();

	public abstract void updateHeaderViewContent(View headerView, int groupPos);

	public abstract void updateGroupViewVisible(View groupView, boolean visible);

	public void setInvisibleGroupViewIndex(int groupIndex) {
		mInvisibleGroupViewIndex = groupIndex;
	}

	public int getInvisibleGroupViewIndex() {
		return mInvisibleGroupViewIndex;
	}

}
